<template>
  <div>
    <!-- 语法 -->
    <!-- v-bind:属性名="变量" -->
    <a :href="url">去百度</a>
    <a v-bind:href="heimaUrl">去黑马</a>
    <img :src="imgUrl" alt="">
  </div>
</template>

<script>
export default {
  data() {
    return {
      url: "https//www.baidu.com",
      heimaUrl:"https://www.itheima.com/",
      imgUrl:"https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimage.biaobaiju.com%2Fuploads%2F20190424%2F12%2F1556080554-MiGpXQvHBV.jpg&refer=http%3A%2F%2Fimage.biaobaiju.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1641628461&t=ada51c0f735dc9bc1514bc79fca17fb1"
    };
  },

};
</script>

<style lang="scss" scoped>

</style>